package com.gxa.xc.rbac.pojo;


import java.security.acl.Permission;
import java.sql.Timestamp;
import java.util.Collection;
import java.util.List;

public class Role {
  private Integer id;
  private String roleName;
  private String roleDesc;
  private String isDeleted;
  private Timestamp createTime;
  private Timestamp updateTime;
  private List<Premission>premissions;
  public Role() {
  }


  public List<Premission> getPremissions() {
    return premissions;
  }

  public void setPremissions(List<Premission> premissions) {
    this.premissions = premissions;
  }

  @Override
  public String toString() {
    return "Role{" +
            "id=" + id +
            ", roleName='" + roleName + '\'' +
            ", roleDesc='" + roleDesc + '\'' +
            ", isDeleted='" + isDeleted + '\'' +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", premissions=" + premissions +
            '}';
  }

  public long getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }


  public String getRoleDesc() {
    return roleDesc;
  }

  public void setRoleDesc(String roleDesc) {
    this.roleDesc = roleDesc;
  }


  public String getIsDeleted() {
    return isDeleted;
  }

  public void setIsDeleted(String isDeleted) {
    this.isDeleted = isDeleted;
  }


  public java.sql.Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.sql.Timestamp createTime) {
    this.createTime = createTime;
  }


  public java.sql.Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(java.sql.Timestamp updateTime) {
    this.updateTime = updateTime;
  }

}
